<!-- static || fixed -->
<div class="navbar navbar-default navbar-fixed-top" role="navigation" style="display:block;">
<div class="container-fluid">
  <div class="navbar-header">


    <%= link_to root_path,:class=>"navbar-brand" do%>
      <%= image_tag "ghs.png"%>
      WindBell DW 系统
    <%end%>
  </div>
 
  <% if user_signed_in? %>
    <ul class="nav navbar-nav">
          <li><%= link_to "分类管理",data_types_path%></li>
          <li><%= link_to "关键线索",keywords_path%></li>
          <li><%= link_to "线索监听",triggers_path %></li>
          <li><%= link_to "数据导入",import_data_types_path%></li>
          <li><%= link_to "数据搜索",search_data_types_path%></li>
          <li><%= link_to "操作日志",notes_path %></li>
          <li><%= link_to "用户管理" , users_path() %></li>
    </ul>
    <ul class="nav navbar-nav navbar-right">
      <li><%= link_to current_user.name,profile_path%></li>
          <li><%= link_to "修改密码",edit_password_path%></li>
          <li><%= link_to "退出",destroy_user_session_path,method: :delete  %></li>
    </ul>
  <%else%>
    <ul class="nav navbar-nav navbar-right">
      <li><%= link_to "登 录",new_user_session_path%></li>
    </ul>
  <%end%>
  <!-- </div> --><!--/.nav-collapse -->
</div>
</div>